namespace Apps.Models
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("PUB_DEVICEMODEL")]
    public partial class PUB_DEVICEMODEL
    {
        [Key]
        [StringLength(40)]
        public string MODEL_ID { get; set; }

        [Required]
        [StringLength(40)]
        public string FACTURER_ID { get; set; }

        [Required]
        [StringLength(40)]
        public string TYPE_ID { get; set; }

        [Required]
        [StringLength(50)]
        public string MODEL_NAME { get; set; }

        [StringLength(200)]
        public string REMARKS { get; set; }

        public virtual PUB_DEVICETYPE PUB_DEVICETYPE { get; set; }

        public virtual PUB_MANUFACTURER PUB_MANUFACTURER { get; set; }
    }
}
